package main

import "fmt"

func main() {
	var p *int
	fmt.Println("p =", p) // p = <nil>

	*p = 100 // 报错：panic: runtime error: invalid memory address or nil pointer dereference
}
